// 新建编辑样式
.newEditStyle {
  .ant-form-item-label {
    line-height: normal;
  }
  .ant-form-item {
    margin-bottom: 12px;
    &.ant-form-item-with-help {
      .ant-form-item-control-wrapper {
        .ant-form-item-control {
          .ant-form-explain {
            // white-space: nowrap; // 验证错误提示不换行
            font-size: 1.2rem;
            min-height: 1.6rem;
          }
        }
      }
    }
    label {
      font-size: 1.2rem;
      font-weight: bold;
      color: #5e5e5e;
    }
  }
}
.rightDrawerCompFull {
  flex: 1 0 0;
  overflow-y: auto;
  overflow-x: hidden;
}
// 自定义必填星号样式
.requiredSty::after {
  display: inline-block;
  margin-right: 4px;
  content: '*';
  line-height: 1;
  font-size: 1.4rem;
  color: #f5222d;
}

// 表单默认无冒号且必填星号位置放后面
.AsteriskAfter {
  .ant-form-item-label {
    & > label.ant-form-item-required::after {
      display: inline-block;
      margin-right: 4px;
      color: #f5222d;
      font-size: 1.6rem;
      line-height: 1;
      content: '*';
    }

    & > label::before {
      content: none;
    }

    & > label::after {
      content: none;
    }
  }
}

